package lab01;

import java.util.Scanner;

public class Test07 {
    public static void main(String[] args) {
        Scanner gr = new Scanner(System.in);
        System.out.println("请输入你的成绩：");
        int grade = gr.nextInt();

        if (grade >= 85){
            System.out.println("A");
        }else if(grade >= 70){
            System.out.println("B");
        }else if(grade >=60){
            System.out.println("C");
        }else System.out.println("D");
    }

}
